package com.qj.travel.service;

import com.qj.travel.db.model.SnapInfoModel;

import java.util.List;

/**
 * Created by Admin on 2016/10/1.
 */
public interface SnapInfoService {
    List<SnapInfoModel> getSnapInfoList();
    List<SnapInfoModel> getSnapBySort(String videoClass,int startRow,int pageSize);
    SnapInfoModel getSnapInfo(int videoId);
    int insertSnapInfo(SnapInfoModel snapInfoModel);
    List<SnapInfoModel> getSnapInfoListByPage(int startRow,int pageSize);
    int deleteSnap(int snapId);
    List<SnapInfoModel> getSnapPublished(int startRow,int pageSize);
    List<SnapInfoModel> getSnapPublishedBySort(String videoClass,int startRow,int pageSize);
    List<SnapInfoModel> getSnapNotPublished(int startRow,int pageSize);
    int updateLock(int videoId);
    int updatePublish(int videoId);
    int cancelPublish(int videoId);
    int updateNotPass(int videoId);
    int updateClass(int videoId,String videoClass);
    List<SnapInfoModel> getSnapByUser(String userId);
    List<SnapInfoModel> getSnapByUserPublished(String userId);
    List<SnapInfoModel> getSnapByUserNotPublished(String userId);
    List<SnapInfoModel> getSnapByUserNotPass(String userId);
    List<SnapInfoModel> getSnapNotPass();
}
